package com.imti.model;


/**
 * 答案表 实体类
 */

public class Answer {

    private String answerId;
    //题目id
    private Integer questionId;
    //答案描述
    private String context;
    //是否正确答案
    private String correctFlag;

    @Override
    public String toString() {
        return "Answer{" +
                "answerId='" + answerId + '\'' +
                ", questionId=" + questionId +
                ", context='" + context + '\'' +
                ", correctFlag='" + correctFlag + '\'' +
                '}';
    }

    public String getAnswerId() {
        return answerId;
    }

    public void setAnswerId(String answerId) {
        this.answerId = answerId;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getCorrectFlag() {
        return correctFlag;
    }

    public void setCorrectFlag(String correctFlag) {
        this.correctFlag = correctFlag;
    }
}
